package com.otaku.order.interfaceApi;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.SubscribableChannel;

public interface SendMailInterface {
    String SEND_MAIL_ORDER = "send_mail_order";
    String SEND_MSG_ORDER = "send_msg_order";

    @Output(SEND_MAIL_ORDER)
    SubscribableChannel sendMail();

    @Output(SEND_MSG_ORDER)
    SubscribableChannel sendMsg();
}
